﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using TCKQKL.FrontEnd.DataModel;
using System.Collections.Generic;
using TCKQKL.Service.LookupClient;
using TCKQKL.FrontEnd.Config;

namespace TCKQKL.FrontEnd.Web.Controls
{
    public partial class CashInfo : System.Web.UI.UserControl
    {
        public List<BankDataUI> banks = new List<BankDataUI>();
        public decimal peddingCost = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                LSClient client = new LSClient();
                banks = client.getBankDataByInvestorId(client.getAccountData(HttpContext.Current.User.Identity.Name).investorId);
                peddingCost = client.getPeddingOrderCost();
                client.Close();
            }
            catch
            {
                return;
            }

        }
    }
}